﻿
namespace Com.FastSearch.SharePoint.Interfaces
{
    /// <summary>
    /// Valid values for the spell-checking feature.
    /// </summary>
    public enum SpellCheckEnum
    {
        /// <summary>
        /// Spell-cheking is disabled.
        /// </summary>
        OFF,

        /// <summary>
        /// Spell-checking will provide suggestions as part of the query feedback.
        /// </summary>
        SUGGEST,

        /// <summary>
        /// Spell-checking will rewrite the query automatically.
        /// </summary>
        ON,
    };

    /// <summary>
    /// Valid result sorting directions.
    /// </summary>
    public enum SortDirection
    {
        /// <summary>
        /// Ascending; the lowest value first, the highest last.
        /// </summary>
        Ascending = 0,

        /// <summary>
        /// Descending; the highest value first, the lowest last.
        /// </summary>
        Descending = 1,
    }
}
